<div class="content">
<h3>Kustsu Arst</h3>
<?php if(isset($teade))echo $teade; ?>
<? if(isset($_REQUEST['teade']))echo $_REQUEST['teade'];?>
<form action="?" method="post">
<table width="300px" style="min-width:300px;" border="0">
  <tr>
    <th scope="row">Vali hobune:</th>
    <td><select name="hobune">
    <option value="0">- Vali Hobune -</option>
   <?php foreach($hobused as $hobu): ?>
       <option value="<?=$hobu->hobu_id?>"><?=$hobu->nimi ?></option>
	<?php endforeach; ?>
	</select></td>
  </tr>
  <tr>
    <th scope="row">Vali arst:</th>
    <td><select name="arst">
    <option value="0">- Vali Arst -</option>
   <?php foreach($arstid as $arst): ?>
       <option value="<?=$arst->arst_id?>"><?=$arst->nimi ?></option>
	<?php endforeach; ?>
	</select></td>
  </tr>
  <tr>
    <th scope="row">Vali ravi:</th>
    <td><select name="ravi">
    <option value="0">- Vali Ravi -</option>
   <?php foreach($ravi as $ravid): ?>
       <option value="<?=$ravid->ravi_id?>"><?=$ravid->ravi_nimi ?></option>
	<?php endforeach; ?>
	</select>	
        </td>
  </tr>
  <tr class="cell">
    <th scope="row"></th>
    <td><img src="images/Add.png" class="icon" style="left:100px; bottom:12px;"/><input type="submit" value="Kutsu Arst" class="lisahobu" /></td>
  </tr>
</table>
</form>
</div>